Package-level declarations
Types
EN Represents a custom dimension entry with qualifiers and priority. Used by the DimenScaled class to define specific values for screen conditions.
EN Represents a custom Sp entry with qualifiers and priority, for the non-Compose Sp builder.
EN A class that allows defining custom dimensions based on screen qualifiers (UiModeType, Width, Height, Smallest Width).
EN A class that allows defining custom Sp text dimensions based on screen qualifiers (UiModeType, Width, Height, Smallest Width).
Functions
EN Shared pure-math scaling kernel used by toDynamicScaledPx and toDynamicScaledDp.
EN Internal logic to calculate the scaled SP value (similar to DP calculation but conceptually for text).
EN Gets the actual value from the Configuration for the given DpQualifier.
EN Extension for Int with dynamic scaling based on Screen Height (hDP).
EN Extension for Int with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for Int with dynamic scaling based on Screen Height (hDP).
EN Extension for Int with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Extension for Int with dynamic scaling based on Screen Height (hDP).
EN Extension for Int with dynamic scaling based on Screen Height (hSP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for Int with dynamic scaling based on Screen Height (hDP).
EN Extension for Int with dynamic scaling based on Screen Height (hSP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Starts the build chain for the custom dimension DimenScaled from a base Float (Dp). PT Inicia a cadeia de construção para a dimensão customizada DimenScaled a partir de um Float (Dp) base.
EN Starts the build chain for the custom dimension DimenScaled from a base Int (Dp). PT Inicia a cadeia de construção para a dimensão customizada DimenScaled a partir de um Int (Dp) base.
EN Starts the build chain for ScaledSp from a base Float (treated as sp). PT Inicia a cadeia de construção para ScaledSp a partir de um Float base (tratado como sp).
EN Starts the build chain for ScaledSp from a base Int (treated as sp). PT Inicia a cadeia de construção para ScaledSp a partir de um Int base (tratado como sp).
EN Extension for Int with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device matches the specified uiModeType, it uses modeValue instead.
EN Extension for Int with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for Int with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Extension for Int with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Extension for Int with dynamic scaling based on Smallest Width (swDP).
EN Extension for Int with dynamic scaling based on Smallest Width (swSP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for Int with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.
EN Extension for Int with dynamic scaling based on Smallest Width (swSP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Converts an Int (base Sp) to a dynamically scaled Sp value (as Float).
EN Converts an Int (the base Sp value) into a dynamically scaled pixel value (Float).
EN Extension for Int with dynamic scaling based on Screen Width (wDP).
EN Extension for Int with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for Int with dynamic scaling based on Screen Width (wDP).
EN Extension for Int with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
EN Extension for Int with dynamic scaling based on Screen Width (wDP).
EN Extension for Int with dynamic scaling based on Screen Width (wSP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.
EN Extension for Int with dynamic scaling based on Screen Width (wDP).
EN Extension for Int with dynamic scaling based on Screen Width (wSP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.